
package com.lemon.cloud.mybatis.annotation;

import com.lemon.cloud.mybatis.DynamicDataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启动态数据源
 * @author HuangDS
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableAutoConfiguration
@Import({DynamicDataSourceAutoConfiguration.class})
public @interface EnableDynamicDataSource {

}
